package cn.doitedu.rtdw.udf;

import ch.hsr.geohash.GeoHash;
import org.apache.flink.table.functions.ScalarFunction;

public class Gps2Geo extends ScalarFunction {
    public String eval(Double lat,Double lng){
        return GeoHash.geoHashStringWithCharacterPrecision(lat,lng,5);
    }
}
